package com.zh.mp.demo.modules.goods.service;

import com.zh.mp.demo.modules.goods.entity.Stock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zh.mp.demo.modules.order.entity.OrderDto;

/**
 * <p>
 * 商品库存 服务类
 * </p>
 *
 * @author jobob
 * @since 2021-03-20
 */
public interface IStockService extends IService<Stock> {

    /**
     * 更新库存
     * @param orderDto
     */
    void updateStock(OrderDto orderDto);
}
